package com.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author diving
 * @since 2024-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Manager对象", description="")
public class Manager implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String email;

    private String password;

    private String name;

    private Integer age;

    @ApiModelProperty(value = "F代表女，M代表男,U代表未知")
    private String sex;

    private Boolean isvalid;

    private Boolean issuper;

    public Boolean isIdNull(){return id == null;}

}
